import Vue from 'vue'
import App from '@/App'
//import ElementUI from 'element-ui'
//import 'element-ui/lib/theme-chalk/index.css'
import '@/element'
import router from '@/router'
import store from '@/store'
import '@/http'
import '@/filter'
import '@/components'
import '@/mixin'
import '@/directive'
import '@/style/index.scss' // 全局的scss样式
import '@/echarts'
// import mockXHR from '@/mock'

Vue.config.productionTip = false
// Vue.use(ElementUI)

/*if (process.env.VUE_APP_TITLE === 'development') {
	mockXHR()
	console.log('mock start data!')
} else {
	console.log('no mock data!')
}*/

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
